package com.xbongbong.pro.coolapp.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.UserVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author zhushuainan
 * @title: CoolAppUpdateCardDTO
 * @projectName xbb-pro
 * @description: TODO
 * @date 2022/6/30 21:48
 */
@Getter
@Setter
@ToString
public class CoolAppUpdateCardDTO extends BaseDTO {

    private static final long serialVersionUID = -9050546259590009682L;

    private Long appId;

    private Long menuId;

    private Integer saasMark;

    private Integer businessType;

    private Long formId;

    private Long dataId;
    /**
     * 群id
     */
    private String openConversationId;

    /**
     *审批任务id
     */
    private Long processTaskId;

    /**
     *审批任务节点id
     */
    private Long processNodeTaskId;

    /**
     *流程状态
     */
    private Integer flowStatus;

    /**
     * 卡片id
     */
    private String cardBizId;

    public CoolAppUpdateCardDTO() {}

    public CoolAppUpdateCardDTO (String corpid, String userId, UserVO userVO, String platform, Long appId, Long menuId, Integer saasMark,
                                 Integer businessType, Long dataId, String openConversationId, String cardBizId) {
        this.appId = appId;
        this.menuId = menuId;
        this.saasMark = saasMark;
        this.businessType = businessType;
        this.dataId = dataId;
        this.openConversationId = openConversationId;
        this.cardBizId = cardBizId;

        setCorpid(corpid);
        setUserId(userId);
        setLoginUser(userVO);
        setPlatform(platform);
    }
}
